package org.hy.pay.message.util;

import org.apache.log4j.DailyRollingFileAppender;
import org.apache.log4j.Priority;

/**
 * @author lzm
 * @Date 2017-11-03
 * @version 1.0v
 */
public class LogAppender extends DailyRollingFileAppender{
	 @Override  
	 public boolean isAsSevereAsThreshold(Priority priority) {  
		 return threshold == null || this.getThreshold().equals(priority);  
	 }  
}
